//
//  GuestOrderBottomView.m
//  penzer
//
//  Created by 还带大道 on 2018/10/30.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "GuestOrderBottomView.h"

@interface GuestOrderBottomView()
@property (weak, nonatomic) IBOutlet UIButton *serviceBtn;
@property (weak, nonatomic) IBOutlet UIButton *okBtn;
@property (weak, nonatomic) IBOutlet UIButton *logisticsBtn;

@end

@implementation GuestOrderBottomView

- (void)awakeFromNib
{
    [super awakeFromNib];
    _okBtn.layer.cornerRadius = 5;
    _logisticsBtn.layer.cornerRadius = 5;
    _logisticsBtn.layer.borderColor = RZ_COLOR(220, 220, 220).CGColor;
    _logisticsBtn.layer.borderWidth = 1;
}


+ (instancetype)shareHeaderView
{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].lastObject;
}

- (IBAction)serviceBtnOnClick {
    !self.contactServiceBlock?:self.contactServiceBlock();
}

- (IBAction)okBtnOnClick {
    !self.comfirmBlock?:self.comfirmBlock();
}

- (IBAction)logisticsBtnOnClick {
    !self.logisticsBlock?:self.logisticsBlock();
}

@end
